<?php

class CompeteFace extends FaceBase
{
	private $nohf = [];
	private $mysql = null;
	private $api = null;
	private $weixin = null;

	public function __construct()
	{
		parent::__construct();
		if(!in_array(N_ACTION,$this->nohf)){
			n_mod('skin')->header('user');
		}
		$this->mysql = n_api('mysql')->cname('weixin');
		$this->api = n_api('article');
		$this->weixin = n_api('weixin');
	}

	public function index()
	{
		$param = $this->param('
			compete1:char:ignore,
			compete2:char:ignore
		');

		$compete1 = isset($param['compete1']) ? $param['compete1'] : 'Bank-95559'
		$compete2 = isset($param['compete2']) ? $param['compete2'] : 'icbc601398'

		

		$this->_html('index');
	}

	public function __destruct(){
		if(!in_array(N_ACTION,$this->nohf)){
			n_mod('skin')->footer('user');
		}
	}
}